The equivalence classes of an equivalence relation on a set S constitute a partition of S.  Conversely, for any partition P of S, there is an equivalence relation on S whose equivalence classes are the elements of P.